Skip to main content

itemLabels

Type

property

Summary

The labels displayed by each segment

Syntax

get the itemLabels of <widget>
set the itemLabels of <widget> to <labelList>

Description

The labels of each segment in the control. The itemLabels are displayed by the widget when the itemStyle is set to show labels.

If any of the itemLabels are empty, those segments have no label.

When you set the itemLabels to a string that has fewer labels than the itemCount, the remaining segments' labels are set to empty.

When you set the itemLabels to a string that has more labels than the itemCount, the extra labels are ignored.

property: itemCount, itemStyle, foreColor